.home-banner {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  margin-right: 30px;
  width: 800px;
  height: 300px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;

  .home-swiper {
    height: 100%;
    width: 100%;

    .swiper-slide {
      width: 100%;
      height: 100%;
    }
  }

  .banner-slide {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  // Swiper 基础样式
  .swiper {
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
    list-style: none;
    padding: 0;
    z-index: 1;
  }

  .swiper-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    transition-property: transform;
    transition-timing-function: var(--swiper-wrapper-transition-timing-function, initial);
    box-sizing: content-box;
  }

  .swiper-slide {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    position: relative;
    transition-property: transform;
  }

  // Swiper 导航按钮样式 - 优化版
  .swiper-button-next,
  .swiper-button-prev {
    position: absolute;
    top: 50%;
    width: 44px;
    height: 44px;
    margin-top: -22px;
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);

    &:hover {
      background: rgba(255, 255, 255, 1);
      transform: scale(1.1);
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    &::after {
      font-size: 16px;
      font-weight: bold;
      color: #3498DB;
    }
  }

  .swiper-button-prev {
    left: 15px;
    right: auto;
  }

  .swiper-button-next {
    right: 15px;
    left: auto;
  }

  // Swiper 分页器样式 - 优化版
  .swiper-pagination {
    position: absolute;
    text-align: center;
    transition: 300ms opacity;
    transform: translate3d(0, 0, 0);
    z-index: 10;
    bottom: 15px;
    left: 0;
    right: 0;
  }

  .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    display: inline-block;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    opacity: 1;
    margin: 0 6px !important;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);

    &:hover {
      background: rgba(255, 255, 255, 0.8);
      transform: scale(1.2);
    }
  }

  .swiper-pagination-bullet-active {
    background: #3498DB;
    border-color: #3498DB;
    transform: scale(1.2);
  }

  // 淡入淡出效果
  .swiper-fade {
    .swiper-slide {
      pointer-events: none;
      transition-property: opacity;
    }

    .swiper-slide-active {
      pointer-events: auto;
    }
  }
} 